package com.shop.pojo.wms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//库存工作单
@TableName("wms_ware_order_task")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Wms_Ware_Order_Task {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long order_id;//order_id
    private String order_sn;//order_sn
    private String consignee;//收货人
    private String consignee_tel;//收货人电话
    private String delivery_address;//配送地址
    private String order_comment;//订单备注
    private int payment_way;//付款方式【 1:在线付款 2:货到付款】',
    private int task_status;//任务状态
    private String order_body;//订单描述
    private String tracking_no;//物流单号
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;//创建时间
    private Long ware_id;//仓库id
    private String task_comment;//工作单备注
}
